package org.academic.texteditor.gui.style;

public enum StyleType {

	BASE(new StyleFactoryImpl().getBaseStyle()),
	BUTTON(new StyleFactoryImpl().getButton()),
	COMMON_FIELD(new StyleFactoryImpl().getCommonField()),
	ACTION_BUTTON(new StyleFactoryImpl().getActionButton()),
	COMMON_LABEL(new StyleFactoryImpl().getCommonLabel()),
	TITLE_LABEL(new StyleFactoryImpl().getTitleLabel()),
	FIELD_NUMBER(new StyleFactoryImpl().getFieldNumber()),
	HIDE_BUTTON(new StyleFactoryImpl().getHideButton()),
	SELECTED_FIELD(new StyleFactoryImpl().getSelectedField()), 
	DESCRIPTION_LABEL(new StyleFactoryImpl().getDescriptionField());

	private Style style;
	
	private StyleType(Style style) {
		this.style = style;
	}
	
	public Style getStyle() {
		return style;
	}
	
}
